package com.thinkgem.jeesite.modules.sys.exception;

import com.thinkgem.jeesite.common.web.webservice.ResponseState;

public class WebServiceException extends TransactionException {

	private static final long serialVersionUID = 14066014168648158L;

	protected int exceptionCode;

	public WebServiceException(String msg) {
		super(msg);
		this.exceptionCode = ResponseState.CODE.UNKNOWN_EXCEPTION;
	}

	public int getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(int exceptionCode) {
		this.exceptionCode = exceptionCode;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

}
